﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FotoStammbuch.Main
{
    public partial class frmMain : Form, IView
    {
        Presenter _presenter;

        public frmMain()
        {
            InitializeComponent();

            _presenter = new Presenter(this);
        }

        private void mnuFotoStammbuchSchließen_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void mnuFotoStammbuchFotosammlung_Click(object sender, EventArgs e)
        {
            Fotoalbum.UI.frmFotosammlung.Show(this);
        }

        #region IView Members

        public Form MdiPatentForm
        {
            get { return this; }
        }

        #endregion

        private void fotoalbumDBToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Fotoalbum.DAL.UI.Form1.Show(this);
        }
    }
}
